package com.cloudkinto.service.stock.vo.transfer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/6/11 13:06
 * @description:
 */
@Data
public class StockTransferAddReq {
//    @ApiModelProperty("仓库id")
//    @NotNull(message = "pls.chose.storage")
//    private Long storageId;

    @ApiModelProperty("转出店铺id")
    @NotNull(message = "pls.chose.out.shop")
    private Long shopOutId;

    @ApiModelProperty("转入店铺id")
    @NotNull(message = "pls.chose.in.shop")
    private Long shopInId;

    @NotEmpty(message = "pls.chose.out.sku")
    private List<StockTransferProductAdd> detailList;
}
